package com.chefu.order.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import org.hibernate.validator.constraints.Range;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

public class AutoPartsOrderPageParamVo {
    @ApiModelProperty(value = "订单编号")
    private Long orderId;
    @ApiModelProperty(value = "客户名称")
    private String userName;
    @ApiModelProperty(value = "订单状态(待支付0待发货1待签收2待评价3已完成4退货已完成5)")
    @Range(max = 5)
    private Integer status;
    @ApiModelProperty(value = "订单时间(左区间)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date lDate;
    @ApiModelProperty(value = "订单时间(右区间)")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date rDate;
    @ApiModelProperty(value = "配件商家名称")
    private String partProName;


    public Long getOrderId() {
        return orderId;
    }

    public void setOrderId(Long orderId) {
        this.orderId = orderId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Date getlDate() {
        return lDate;
    }

    public void setlDate(Date lDate) {
        this.lDate = lDate;
    }

    public Date getrDate() {
        return rDate;
    }

    public void setrDate(Date rDate) {
        this.rDate = rDate;
    }

    public String getPartProName() {
        return partProName;
    }

    public void setPartProName(String partProName) {
        this.partProName = partProName;
    }
}
